package fleditor.events
{
	import flash.events.Event;
	
	public class AssetEvent extends Event
	{
		/**
		 * 增加物件资源库对象到物件单项编辑视图中
		 */
		public static const ADD_ASSETLIB_TO_ASSET_EDIT_VIEW:String = "AddAssetLibToAssetEditView";
		
		/**
		 * 激活物件编辑二级按钮操作
		 */
		public static const MENU_ASSET_ACTION_TYPE:String = "MenuAssetActionType";
		
		/**
		 * 事件传递的数据 
		 */		
		private var _data:Object;
		
		/**
		 * 事件传递的数据
		 */		
		public function get date():Object
		{
			return _data;
		}
		
		public function AssetEvent(type:String, data:Object=null)
		{
			super(type, data);
			_data=data;
		}
	}
}